package com.zyg.DI;

public class People {
	private String name;
	private String company;
	private Car car;
	private String hobby;

	public People(String name, String company, Car car, String hobby) {
		this.name=name;
		this.company=company;
		this.car=car;
		this.hobby=hobby;

		
	}


	@Override
	public String toString() {
		return "People [name=" + name + ", company=" + company + ", car=" + car + ", hobby=" + hobby + "]";
	}
	
	

}
